<?php
class Zenddn_File_GetFileExtension{
    public function getExtension($filename)
    {
        $arrExt = explode(".", $filename);
        $ext = end($arrExt);
        
        return $ext;
    }
}